package xin.clips.system.dto;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 设备实时告警数据
 */
public class DeviceAlarmRecordDTO {
    private String name;  //设备名称
    private String type;  //设备类型
    private String status;  //设备状态
    private String timer = "0";   //运⾏时间/min
    @JSONField(serialize = false)
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     *
     *  "name": "数控机床-001", // 设备名称
     *  "type": "数控机床", // 设备类型
     *  "status": "待机", // 设备状态
     *  "timer": "500" // 运⾏时间/min
     *
     * @return
     */

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimer() {
        return timer;
    }

    public void setTimer(String timer) {
        this.timer = timer;
    }
}


